package com.ims.core.saleconfig.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 销项系统配置对象 t_sal_config
 *
 * @author IMS
 * @date 2024-05-19
 */
public class TSalConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 拆分规则ID */
    @Excel(name = "拆分规则ID")
    private String configId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String custId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 数电通道代码 */
    @Excel(name = "数电通道代码")
    private Long channelCode;

    /** 数电通道 */
    @Excel(name = "数电通道")
    private String channelName;

    /** 不含税金额×税率与税额的误差范围代码 */
    @Excel(name = "不含税金额×税率与税额的误差范围代码")
    private Long errorRanger;

    /** 不含税金额×税率与税额的误差范围 */
    @Excel(name = "不含税金额×税率与税额的误差范围")
    private String errorRangerName;

    /** 分 */
    @Excel(name = "分")
    private Long fen;

    /** 数据访问权限设置代码 */
    @Excel(name = "数据访问权限设置代码")
    private Long authType;

    /** 数据访问权限设置 */
    @Excel(name = "数据访问权限设置")
    private String authTypeName;

    /** 单号校验代码 */
    @Excel(name = "单号校验代码")
    private Long isCheck;

    /** 单号校验 */
    @Excel(name = "单号校验")
    private String isCheckName;

    private Integer isDel;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(String configId)
    {
        this.configId = configId;
    }

    public String getConfigId()
    {
        return configId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setChannelCode(Long channelCode)
    {
        this.channelCode = channelCode;
    }

    public Long getChannelCode()
    {
        return channelCode;
    }
    public void setChannelName(String channelName)
    {
        this.channelName = channelName;
    }

    public String getChannelName()
    {
        return channelName;
    }
    public void setErrorRanger(Long errorRanger)
    {
        this.errorRanger = errorRanger;
    }

    public Long getErrorRanger()
    {
        return errorRanger;
    }
    public void setErrorRangerName(String errorRangerName)
    {
        this.errorRangerName = errorRangerName;
    }

    public String getErrorRangerName()
    {
        return errorRangerName;
    }
    public void setFen(Long fen)
    {
        this.fen = fen;
    }

    public Long getFen()
    {
        return fen;
    }
    public void setAuthType(Long authType)
    {
        this.authType = authType;
    }

    public Long getAuthType()
    {
        return authType;
    }
    public void setAuthTypeName(String authTypeName)
    {
        this.authTypeName = authTypeName;
    }

    public String getAuthTypeName()
    {
        return authTypeName;
    }
    public void setIsCheck(Long isCheck)
    {
        this.isCheck = isCheck;
    }

    public Long getIsCheck()
    {
        return isCheck;
    }
    public void setIsCheckName(String isCheckName)
    {
        this.isCheckName = isCheckName;
    }

    public String getIsCheckName()
    {
        return isCheckName;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("channelCode", getChannelCode())
            .append("channelName", getChannelName())
            .append("errorRanger", getErrorRanger())
            .append("errorRangerName", getErrorRangerName())
            .append("fen", getFen())
            .append("authType", getAuthType())
            .append("authTypeName", getAuthTypeName())
            .append("isCheck", getIsCheck())
            .append("isCheckName", getIsCheckName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
